import pytest
import requests
import os
from log import caiji_log
from mail import send_mail
if __name__ == '__main__':
    caiji_log()
    pytest.main(['-s','test_case.py','--alluredir=./数据报告','--clean-alluredir'])
    os.system("allure generate  ./数据报告 -o ./测试报告 --clean ")
    send_mail(["weidudianshanglog521.log","./测试报告/index.html"])



